/*
 * Copyright (C) 2010-2011 Comcast Cable.  All Rights Reserved.
 */
package com.hercules.android.receiver.util.evaluators;

/**
 * <p>
 * This exception is thrown by implementations of PathEvaluator and ExpressionEvaluator when the provided receiver or
 * some XRE object was not properly initialized.
 * </p>
 *
 * <p>
 * <strong>Thread Safety: </strong> Exceptions are not thread safe and they are not expected to be used concurrently.
 * </p>
 *
 * @author saarixx, sparemax
 * @version 1.0
 */
@SuppressWarnings("serial")
public class InvalidAndroidReceiverStateException extends Exception {
    /**
     * <p>
     * Constructs a new <code>InvalidAndroidReceiverStateException</code> instance with error message.
     * </p>
     *
     * @param message
     *            the error message.
     */
    public InvalidAndroidReceiverStateException(String message) {
        super(message);
    }

    /**
     * <p>
     * Constructs a new <code>InvalidAndroidReceiverStateException</code> instance with error message and inner cause.
     * </p>
     *
     * @param message
     *            the error message.
     * @param cause
     *            the inner cause.
     */
    public InvalidAndroidReceiverStateException(String message, Throwable cause) {
        super(message, cause);
    }
}
